#pragma once
#include "Token.h"
#include "Label.h"
#include "Base.h"
class RTL
{
private:
	static vector<RTL*> quaternaries;
	static bool lastHasData;
public:
	static void putData(Token* op,Base* addr1,Base* addr2,Base* des);
	static void putLabel(Label* label);
	static void Output();
	static void Init();
	Token* op;
	Base* Addr1;
	Base* Addr2;
	Base* Addr3;
	vector<Label*>* labels;
	RTL();
	~RTL();
};

